Behavior Inheritance for Object Lifecycles
نویسندگان
چکیده
The rules for inheritance of classes with respect to data and function members are well defined. For example, the proposals for programming by contract in Eiffel ensure additional consistency between superclasses and subclasses. In object-oriented design, it is common to capture the behaviour of classes with lifecycles which are expressed in the form of finite state machines. In this context, there are very few proposals for what constitutes consistency between superclasses and subclasses. This paper presents proposals for consistency between superclasses and subclasses in the context of the Petri Net formalism, which is a form of finite state machine with explicit provisions for concurrency. The paper cites the applicability of these proposals in the context of network protocols, and argues for a similar applicability in the context of object lifecycles.
منابع مشابه
An Object-Oriented Modeling and Simulation Environment for Reactive Systems Development1
An environment to support the modeling, analysis, simulation, and development of state transition models, SMOOCHES (State Machines for Object-Oriented Concurrent Hierarchical Engineering Specifications), is presented. SMOOCHES allows the hierarchical construction, analysis, and simulation of state transition models in an object-oriented distributed environment. Statecharts (see Harel, 1987c), a...
متن کاملInheritance of Object Behavior - Consistent Extension of Object Life Cycles
Inheritance is one of the most prominent features of object-oriented design. Object types are organized in hierarchies in which subtypes inherit the structure as well as the behavior of supertypes. As inheritance of behavior is concerned, the discussion has mainly focused on inheritance of single activities in the past. Object behavior, however, is speciied at two interrelated levels of detail:...
متن کاملObject Oriented Modeling with Object Petri Nets
This paper informally introduces Object Petri Nets (OPNs) with a number of examples. OPNs support a thorough integration of object-oriented concepts into Petri Nets, including inheritance and the associated polymorphism and dynamic binding. They have a single class hierarchy which includes both token types and subnet types, thereby allowing multiple levels of activity in the net. The paper disc...
متن کاملHow to guarantee compliance between workflows and product lifecycles?
Product Lifecycle Management (PLM) systems are widely used in the manufacturing industry. A core feature of such systems is providing support for versioning of product data. As workflow functionality is increasingly used in PLM systems the possibility emerges that versioning policies as encapsulated in process models are inconsistent with respect to their actual lifecycles. In this paper we def...
متن کاملInheritance of behavior
One of the key issues of object-oriented modeling and design is inheritance. It allows for the definition of subclasses that inherit features of some superclass. Inheritance is well defined for static properties of classes such as attributes and methods. However, there is no general agreement on the meaning of inheritance when considering the dynamic behavior of objects, captured by their life ...
متن کامل